// data repository
using System.Collections.Generic;
using System.Threading.Tasks;
using t01.Models;

namespace t01.Services;

// interface
public interface IPoetryStorage
{
       Task InitializeAsync();

       Task InsertAsync(Poetry poetry);

       Task<IList<Poetry>> ListAsync();

       Task<IList<Poetry>> QueryAsync(string keyword);

}


